home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_BallsAndBubbles_Ink_S < prev    next >
Encoding:
Text File  |  2003-06-06  |  1.6 KB  |  53 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'Spots of ink on the image',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 0, 
  16.             'MinAmbience': 0, 
  17.             'LightList': []
  18.             }, 
  19.         'Mode': App.Constants.CountType.Multiple, 
  20.         'Multiple': {
  21.             'AverageSize': 12, 
  22.             'Coverage': 37, 
  23.             'CreateMethod': App.Constants.BubbleCreateMethod.NonIntersecting, 
  24.             'SizeVariation': 100
  25.             }, 
  26.         'RandomSeed': 18404, 
  27.         'RandomizePlacement': App.Constants.Boolean.false, 
  28.         'Single': {
  29.             'MaxPossibleSize': App.Constants.Boolean.false
  30.             }, 
  31.         'Surface': {
  32.             'Material': {
  33.                 'Color': (0,0,0), 
  34.                 'Pattern': None, 
  35.                 'Gradient': None, 
  36.                 'Texture': None
  37.                 }, 
  38.             'BumpMap': {
  39.                 'Active': App.Constants.Boolean.false
  40.                 }, 
  41.             'EnvironmentMap': {
  42.                 'Active': App.Constants.Boolean.false
  43.                 }, 
  44.             'Gloss': 0, 
  45.             'Opacity': 100, 
  46.             'Shininess': 0
  47.             }
  48.         }
  49.  
  50. def Do(Environment):
  51.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  52.  
  53.